﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Videotagger
{
    /// <summary>
    /// Logique d'interaction pour MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        private Prefs prefs;
        private List<string> fileList;

        public MainWindow()
        {
            InitializeComponent();
            LoadPrefs();
        }


        private void LoadPrefs()
        {
            prefs = new Prefs();
            prefs.Load();
        }

        private void InitList()
        {
            fileList = new List<string>();

            if (prefs.fileListPath != null)
            {
                // do load
            }

            fileListBox.ItemsSource = fileList;
        }

        private void changePathButton_Click(object sender, RoutedEventArgs e)
        {
            //TODO open dialog
        }

    }
}
